/// **资源配置路径统一入口**
/// 
/// 资源获取：`imagePath(uri)`、`fontPath(uri)`、`audioPath(uri)`
class AppResources {

  /// **拼接图片文件路径**
  /// 
  /// 用法：AppResources.imagePath(`imageUri`)
  /// 
  /// ```
  /// 示例：Image.asset(AppResources.imagePath("test/test.png"))
  /// ```
  static String imagePath(String imageUri){
    return "resources/images/$imageUri";
  }

  /// 拼接字体文件路径
  static String fontPath(String fontUri){
    return "resources/fonts/$fontUri";
  }

  /// 拼接音频文件路径
  static String audioPath(String audioUri){
    return "resources/audios/$audioUri";
  }

}